package com.neusoft.zqygbc.neusoft_wenda.javeBean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Lenovo on 2017/5/22.
 */

public class QuestionDetail {
    /**
     * question : {"qid":"12","description":"string.IsNullOrEmpty和string.IsNullOrWhiteSpace方法的区别","state":"1","uid":"9","createtime":"2017-03-31","hittime":"0","tid":"1","textcontent":"","photos":[{"fileid":"13","filename":"12.jpg"}]}
     * answers : [{"aid":"1","answerstexrt":"1111111111","uid":"10","qid":"12","voicefile":"14949979828074.mp3","answerstime":"2017-05-17 13:13:02"},{"aid":"2","answerstexrt":"4534345","uid":"10","qid":"12","voicefile":"","answerstime":"2017-05-21 03:22:23"},{"aid":"3","answerstexrt":"3453453","uid":"10","qid":"5","voicefile":"","answerstime":"2017-05-24 08:23:24"}]
     */
    @SerializedName("question")
    private QuestionEntity question;
    @SerializedName("answers")
    private List<AnswersEntity> answers;

    public void setQuestion(QuestionEntity question) {
        this.question = question;
    }

    public void setAnswers(List<AnswersEntity> answers) {
        this.answers = answers;
    }

    public QuestionEntity getQuestion() {
        return question;
    }

    public List<AnswersEntity> getAnswers() {
        return answers;
    }


}
